package com.xxx.helloworld.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
@RestController
@RequestMapping("/hello")
public class Hello {
    @GetMapping
    public String helloWorld(){
        System.out.println("helloWorld!!");
        return "OK1";
    }
}
